package com.mifengs.mall.netWork.api;

import com.mifengs.mall.Constant;
import com.mifengs.mall.entity.ResponseInfo;
import com.mifengs.mall.entity.UpdateData;

import java.util.Map;


import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Administrator on 2017/10/24.
 */

public interface UpdateAppApi {

    @FormUrlEncoded
    @POST(Constant.APP_UPDATE)
    Observable<ResponseInfo<UpdateData>> getInfo(
            @FieldMap Map<String, String> map
    );

}
